package com.k2data.k2app.domain.po;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.ZonedDateTime;

/**
 * @author lidong9144@163.com 17-3-16.
 */
@Data
@Table(name = "monitor_limit_value")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MonitorLimitValue implements Serializable {

    @Transient
    private static final long serialVersionUID = -2546731957237806294L;

    @Id
    @GeneratedValue(generator = "JDBC")
    private Long id;
    private Long variableId;
    private String name;
    private String rule;
    private Integer level;
    private Integer state;
    private Double value;
    private Long kmxRuleId;
    private Integer deleteFlag;
    @JsonIgnore
    private LocalDateTime createTime;
    @JsonIgnore
    private LocalDateTime updateTime;

    @Transient
    private String kmxVariableNameEn;
}
